package com.qf.admin.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
//@TableName("orders")  // 当java实体对象与数据库表名不符合的时候，需要通过该属性来指定
public class GoodsMoney {
//    @TableField("o_num")
    Integer num;
//    @TableField("o_good_price")
    BigDecimal money;

    public GoodsMoney() {
    }

    public GoodsMoney(Integer num, BigDecimal money) {
        this.num = num;
        this.money = money;
    }

    @Override
    public String toString() {
        return "GoodsMoney{" +
                "num=" + num +
                ", money=" + money +
                '}';
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }
}
